home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / pcboard / vrs501.zip / VRS-M12.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-10-08  |  3KB  |  158 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     String   STRING001
  22.     String   STRING002
  23.     String   STRING003
  24.     String   STRING004
  25.     String   TSTRING005(12)
  26.     String   STRING006
  27.     String   STRING007
  28.  
  29. ;------------------------------------------------------------------------------
  30.  
  31.     Goto LABEL001
  32.     End
  33.     If (0 == 0) STRING001 = "NO"
  34.     If (0 == 1) STRING001 = "YES"
  35.  
  36.     EndFunc
  37.  
  38.     :LABEL001
  39.     STRING006 = String(PcbNode())
  40.     If (PcbNode() == 0) STRING006 = "A"
  41.     STRING007 = String(Random(1000)) + "X" + STRING006
  42.     Gosub LABEL004
  43.     INTEGER002 = 0
  44.     TSTRING005(1) = "Private"
  45.     TSTRING005(2) = "Corporal"
  46.     TSTRING005(3) = "Lance Corporal"
  47.     TSTRING005(4) = "Sergeant"
  48.     TSTRING005(5) = "Gunnery Sergeant"
  49.     TSTRING005(6) = "Lieutenant"
  50.     TSTRING005(7) = "Second Lieutenant"
  51.     TSTRING005(8) = "Captain"
  52.     TSTRING005(9) = "Major"
  53.     TSTRING005(10) = "Colonel"
  54.     TSTRING005(11) = "Lieutenant Colonel"
  55.     TSTRING005(12) = "General"
  56.     Cls
  57.     Newline
  58.     Newline
  59.     PrintLn "            @X0ERank               @X0AName            @X0BTube #"
  60.     PrintLn "            @X09─────────────────────────────────────────@X0F"
  61.     DCloseAll
  62.     DOpen 0, PPEPath() + "USER.DBF", 0
  63.     DTop 0
  64.     :LABEL002
  65.     If (DEof(0)) Goto LABEL003
  66.     DSkip 0, 1
  67.     STRING003 = Trim(TSTRING005(DGet(0, "LEVEL")), " ")
  68.     STRING004 = Trim(DGet(0, "HANDLE"), " ")
  69.     STRING004 = Mixed(STRING004)
  70.     INTEGER001 = Trim(DGet(0, "ONLINE"), " ")
  71.     If (INTEGER001 > 0) Then
  72.         PrintLn "@POS:13@@X0E", STRING003, "@POS:32@@X0A", STRING004, "@POS:49@@X0B", INTEGER001
  73.         Inc INTEGER002
  74.     Endif
  75.     Goto LABEL002
  76.     :LABEL003
  77.     DCloseAll
  78.     Gosub LABEL004
  79.     If (INTEGER002 == 1) Then
  80.         Newline
  81.         Call PPEPath() + "VRS-M19.PPE"
  82.         End
  83.     ElseIf (INTEGER002 > 1) Then
  84.         Newline
  85.         InputStr " @X0ADo you want to fight any of these Marines @X0E(@X0BY@X0E/@X0BN@X0E) @X0F_", STRING002, 11, 1, "YN", 0 + 8
  86.         If (STRING002 == "N") End
  87.         Call PPEPath() + "VRS-M13.PPE"
  88.         End
  89.     Endif
  90.     :LABEL004
  91.     DCloseAll
  92.     DOpen 0, PPEPath() + "USER.DBF", 0
  93.     DGo 0, 1
  94.     Return
  95.  
  96. ;------------------------------------------------------------------------------
  97. ;
  98. ; Usage report (before postprocessing)
  99. ;
  100. ; ■ Statements used :
  101. ;
  102. ;    4       End
  103. ;    1       Cls
  104. ;    7       Goto 
  105. ;    22      Let 
  106. ;    3       PrintLn 
  107. ;    8       If 
  108. ;    1       InputStr 
  109. ;    2       Gosub 
  110. ;    1       Return
  111. ;    1       Inc 
  112. ;    4       Newline
  113. ;    2       Call 
  114. ;    1       EndFunc
  115. ;    2       DOpen 
  116. ;    3       DCloseAll
  117. ;    1       DTop 
  118. ;    1       DGo 
  119. ;    1       DSkip 
  120. ;
  121. ;
  122. ; ■ Functions used :
  123. ;
  124. ;    7       +
  125. ;    5       ==
  126. ;    2       >
  127. ;    4       !
  128. ;    3       Trim()
  129. ;    1       Random()
  130. ;    2       String()
  131. ;    4       PPEPath()
  132. ;    2       PcbNode()
  133. ;    1       Mixed()
  134. ;    1       DEof()
  135. ;    3       DGet()
  136. ;
  137. ;------------------------------------------------------------------------------
  138. ;
  139. ; Analysis flags : C
  140. ;
  141. ; C - Call child PPE ■ 3
  142. ;     This is usually normal, but may be a tricky way to launch some
  143. ;     sysop-only commands.
  144. ;     ■ Search for : CALL
  145. ;
  146. ;------------------------------------------------------------------------------
  147. ;
  148. ; Postprocessing report
  149. ;
  150. ;    0       For/Next
  151. ;    0       While/EndWhile
  152. ;    3       If/Then or If/Then/Else
  153. ;    0       Select Case
  154. ;
  155. ;------------------------------------------------------------------------------
  156. ;                 AEGiS Corp - Break the routines, code against the machines!
  157. ;------------------------------------------------------------------------------
  158.